#pragma once

class Camera : public Singleton<Camera>
{
public:
	void AddPos(sint dx, sint dy);
	void GetPos(int &x, int &y)
	{
		x = m_x;
		y = m_y;
	}
		
	void SelectZ(sint i);
	sint GetZ() { return m_z; }

	void Resize();

private:
	sint m_z = 0;
	int m_x = GameConfig::Get().MapViewSizeW / 2;
	int m_y = GameConfig::Get().MapViewSizeH / 2;
};